<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'modMS.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="ui/js/jquery.js"></script>
<script type="text/javascript" src="ui/js/framework.js"></script>
<script type="text/javascript" src="ui/js/Validform_v5.3.2.js"></script>
<link href="ui/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" id="skin" prePath="/"/>
<link rel="stylesheet" type="text/css" id="customSkin"/>
<link href="ui/skins/blue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="blue"/>
  </head>
  
  <body>
    	<div class="box2" panelTitle="修改管理站" style="margin-left: auto;margin-right: auto;float: left;width: 100%;">
		<fieldset>
			<form id="modForm" action="<%=path%>/msMod.action" method="post" class="modForm">
				<table class="tableStyle" formMode="transparent">
					<tr>
						<td>编号：</td><td><input type="text" id="id" name="station.MSId" value="${station.MSId }" readonly="readonly"/></td>
					</tr>
					<tr>
						<td>管理站名称:</td>
						<td><input type="text" id="MSName" name="station.MSName" value="${station.MSName }" datatype="s3-10" errormsg="名称至少3个字符,最多10个字符！"/></td>
						<td><div class="Validform_checktip"></div></td>
					</tr>
					<tr>	
						<td>管理站IP地址:</td>
						<td><input type="text" id="MSIp" name="station.MSIp" value="${station.MSIp }"  datatype="*" errormsg="不能为空！"/></td>
						<td><div class="Validform_checktip"></div></td>
					</tr>	
					<tr>
						<td colspan="2">
							<input type="submit" value="修改"/>
							<input type="reset" value=" 重 置 "/>
						</td>
					</tr>
				</table>
			</form>
		 </fieldset>
	</div>	
	
		<script type="text/javascript">
		$(function(){
			//$(".registerform").Validform();  //就这一行代码！;
	
			$(".modform").Validform({
				tiptype:2
			});
		});
	</script>
  </body>
</html>
